<?
$xtpl = new XTemplate($inner_templates."home.page.htm");
$xtpl_main->assign ("page_title", _LB_SPECIAL_OFFER);
$xtpl->assign ("base_url", $base_url);
//-- get data from static pages
$text = $DB->DBGetField('static_pages', "sp_code = 'specialOffer' AND id_lang='".$_SESSION['ID_LANG']."'", 'sp_text');
$xtpl->assign('txt',stripslashes($text));
$name = $DB->DBGetField('static_pages', "sp_code = 'specialOffer'", 'sp_name');
$xtpl->assign('name',stripslashes($name));

$rs = $DB->ZenDataList('service','','id_lang='.$_SESSION['ID_LANG'],'sp_pos ASC',"");
while($row = mysql_fetch_array($rs)){ 
        $row['title']=stripslashes($row['sp_name']);
        $row['sp_text']=stripslashes($row['sp_text']);
        $row['id'] = $row['sp_id'];
        $row['class'] = "leftMenu";
        $row['url_html'] = RemoveSign($row['title']).".html";
        if($id == $row['sp_id']){
            $row['class'] = "leftMenuSelected";
        }
        $xtpl->assign("list",$row);
        $xtpl->parse("center.list");
}
include $rootPath.'modules/home/left.support_online.php';
?>